$("#btn").click(function () {
    var tno = $("#tno").val();
    var cno = $("#cno").val();
    var teachTime = $("#teachTime").val();
    var teachWeek = $("#teachWeek").val();
    $.ajax({
        url:"/RuanJianKeShe/addTCInfo",
        type:"post",
        data:{
            "msg":"addTCInfo",
            "tno":tno,
            "cno":cno,
            "teachTime":teachTime,
            "teachWeek":teachWeek

        },
        dataType:"json",
        success:function(success){
            alert(success)
        },
        error:function(){
            alert("fail");
        }
    })
    window.history.back();
})
